<!-- src/App.vue -->
<script setup>
import HelloWorld from './components/HelloWorld.vue'
import { useRouter } from 'vue-router';
</script>

<template>
  <div>
    <nav>
      <ul>
<!--        <li><router-link to="/">主页</router-link></li>
        <li><router-link to="/another-page">测试</router-link></li>
        <li><router-link to="/performanceTest">性能</router-link></li>
        <li><router-link to="/hairPage">图片浏览器</router-link></li>-->
      </ul>
    </nav>
  </div>
  <router-view></router-view>
</template>

<style scoped>
.logo {
  height: 6em;
  padding: 1.5em;
  will-change: filter;
  transition: filter 300ms;
}
.logo:hover {
  filter: drop-shadow(0 0 2em #646cffaa);
}
.logo.vue:hover {
  filter: drop-shadow(0 0 2em #42b883aa);
}
body {
  margin: 0;
  display: flex;
  place-items: center;
  min-width: 320px;
  min-height: 100vh;
  background-color: #ffffff; /* 强制设置白色背景 */
}
nav ul {
  list-style-type: none;
  padding: 0;
  display: flex;
  gap: 1em;
}
nav a {
  text-decoration: none;
  color: #42b883;
  font-weight: bold;
}
nav a.router-link-active {
  color: #646cff;
}
</style>
